package com.cskaoyan.mapper;

import com.cskaoyan.bean.pojo.MallOrder;
import com.cskaoyan.bean.pojo.MallOrderExample;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface MallOrderMapper {
    long countByExample(MallOrderExample example);

    int deleteByExample(MallOrderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MallOrder record);

    int insertSelective(MallOrder record);

    List<MallOrder> selectByExample(MallOrderExample example);

    MallOrder selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MallOrder record, @Param("example") MallOrderExample example);

    int updateByExample(@Param("record") MallOrder record, @Param("example") MallOrderExample example);

    int updateByPrimaryKeySelective(MallOrder record);

    int updateByPrimaryKey(MallOrder record);

    Integer updateShipInfo(@Param("orderId") Integer orderId, @Param("shipSn") String shipSn, @Param("shipChannel") String shipChannel, @Param("date") Date date);

    int selectorderstatus101(Integer id);

    int selectorderstatus401(Integer id);

    List<Integer> selectorderstatus401Byfengyi(Integer id);

    int selectorderstatus301(Integer id);

    int selectorderstatus201(Integer id);

    List<Integer> selectbyUncomment(@Param("id") Integer id);
}